//
//  AppConstant.h
//  Nooryes
//
//  Created by baken on 2020/2/25.
//  Copyright © 2020 MyApp. All rights reserved.
//

#define MobAppKey               @"e7ba474f5f65"
#define MobAppSecret            @"7bc5e2fea83b9bcdfff562af19741931"

#define WeChatAppId             @"wxb2e406bc26f5c229"
#define WeChatAppSecret         @"26b8a494400ce93f282e6ba31d417e44"

#define TencentAppKey           @"101864966"
#define TencentAppSecret        @"e18fb9862629fb7b0e17c0a655c5aeca"
#define TencentRedirectURI      @""


#define LAST_RUN_VERSION_KEY    @"last_run_version_of_application"
#define UMMobileKey             @"54dc17befd98c5ebe0000aa6"



#define kTitleHeight 36
#define kScreenHeight [[UIScreen mainScreen] bounds].size.height
#define kScreenWidth  [[UIScreen mainScreen] bounds].size.width

#define kTopicRowHeight (([[UIScreen mainScreen] bounds].size.width -30)*0.33 + 35)

#define isIPhone5 ([UIScreen instancesRespondToSelector:@selector(currentMode)] ? CGSizeEqualToSize(CGSizeMake(640, 1136), [[UIScreen mainScreen] currentMode].size) : NO)


#define iPhoneXSeries (([[UIApplication sharedApplication] statusBarFrame].size.height == 44.0f) ? (YES):(NO))

#define kIsFullScreen ((([[[UIDevice currentDevice] systemVersion] floatValue] >= 11.0f) && ([[[[UIApplication sharedApplication] delegate] window] safeAreaInsets].bottom > 0.0))? YES : NO)
#define myDelegate ((AppDelegate *)[[UIApplication sharedApplication] delegate])

#define kAllWhiteColor                                      0xffffff
#define kAllBlueColor                                       0x0090d8
#define kAllRedColor                                        0xff0800
#define kAllBlackColor                                      0x333333
#define kBackGroundColor                                    0xf8f8f8


#pragma mark -
#pragma mark 推荐


#define kNYRecommendCollectionViewCell                      @"NYRecommendCollectionViewCell"

#define kNYRecommendHeaderReusableView                      @"NYRecommendHeaderReusableView"

#define kNYTopicListTableViewCell                           @"NYTopicListTableViewCell"

#define kNYSearchUserTableViewCell                          @"NYSearchUserTableViewCell"

#define kNYPostMulReplyTableViewCell                           @"kNYPostMulReplyTableViewCell"

#define kNYPostReplyTableViewCell                           @"NYPostReplyTableViewCell"



#pragma mark -
#pragma mark 我的

#define kNYTopicTableViewCell                @"NYTopicTableViewCell"

#define kNYMessageTableViewCell                @"NYMessageTableViewCell"




